package org.mifos.boss.domainmodel;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="DEVICEINFO")
public class DeviceInfo {

	private String deviceId;
	private String deviceName;
	private String deviceOwner;
	private boolean isApproved;
	private Date lastConnected;
	
	@Id
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public String getDeviceOwner() {
		return deviceOwner;
	}
	public void setDeviceOwner(String deviceOwner) {
		this.deviceOwner = deviceOwner;
	}
	public boolean isApproved() {
		return isApproved;
	}
	public void setApproved(boolean isApproved) {
		this.isApproved = isApproved;
	}
	public Date getLastConnected() {
		return lastConnected;
	}
	public void setLastConnected(Date lastConnected) {
		this.lastConnected = lastConnected;
	}
	
	
}
